<include file="public:header" /><br>
<!--会员列表-->
<div class="pad_lr_10" >
    <form name="searchform" method="get" >
    <table width="100%" cellspacing="0" class="search_form">
        <tbody>
            <tr>
                <td>
                <div class="explain_col">
                    <input type="hidden" name="g" value="admin" />
                    <input type="hidden" name="m" value="capital" />
                    <input type="hidden" name="a" value="index" />
                    <input type="hidden" name="menuid" value="{$menuid}" />
                    <input type="hidden" name="type" value="{$search.type}" />
                    &nbsp;会员帐号 :
                    <input name="keyword" type="text" class="input-text" size="15" value="{$search.keyword}" />
                    &nbsp;手机号 :
                    <input name="tele" type="text" class="input-text" size="15" value="{$search.tele}" />
                    <span class="select_shelter"> 
                                <select name="tgroup" class="order_select " style="width:112px;">
                                    <option value="">用户类型(全部)</option>
                                    <volist name="tgroup" id="val">
                                        <if condition="$key egt 0">
                                            <option value="{$key}"
                                            <if condition="$search[tgroup] eq $key">selected</if>
                                            >{$val}</option>
                                        </if>
                                    </volist>
                                </select>
                                </span>
                    
                      <span class="select_shelter"> 
                                <select name="topkey" class="order_select " style="width:112px;">
                                    <option value="">团队名称(全部)</option>
                                    <volist name="topkey" id="val">
                                        <if condition="$key egt 0">
                                            <option value="{$val}"
                                            <if condition="$search.topkey eq $val">selected</if>
                                            >{$val}</option>
                                        </if>
                                    </volist>
                                </select>
                                </span>
                        &nbsp;&nbsp;类型 :
                        <select name="action">
                        <option value="-1">全部</option>
                        <option value="order" <if condition="$action_ eq 'order'">selected</if>>消费</option>
                        <option value="cash" <if condition="$action_ eq 'cash'">selected</if>>提现</option>
                        <option value="recharge" <if condition="$action_ eq 'recharge'">selected</if>>充值</option>
                         <option value="order_refund"<if condition="$action_ eq 'order_refund'">selected</if>>退款</option>
                         <option value="commission" <if condition="$action_ eq 'commission'">selected</if>>返佣</option>
                         <option value="express" <if condition="$action_ eq 'express'">selected</if>>运费</option>
                        </select>
                      
                    <span >时间：</span><input type="text" name="stime" class="J_date_picker order_text short" value="{$search[stime]}" style="width:100px"> <span class="">~</span> <input type="text" name="etime" class="J_date_picker order_text short" value="{$search[etime]}" style="width:100px">

                    <input type="submit" name="search" class="btn" value="搜索" />
                    <input type="submit" name="export" class="btn mr10" value="导出到Excel文件">
                </div>
                </td>
            </tr>
        </tbody>
    </table>
    </form>



    <div class="explain_col">
        消费总额：￥{$order.price_order}元&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
        提现总额：￥{$order.price_cash}元&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
        充值总额：￥{$order.price_recharge}元&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
        退款总额：￥{$order.price_order_refund}元&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
        返佣总额：￥{$order.price_commission}元&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
        运费总额：￥{$order.price_express}元
    </div>



    <div class="J_tablelist table_list" data-acturi="{:U('price_log/ajax_edit')}">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th width="80" align="left">用户账号</th>
                <th width="120" align="left">手机号</th>
                <th width="80" align="left">用户类型</th>
                <th width="80" align="left">业务类型</th>
                <th width="100" align="left">变动时间</th>
                <th width="100" align="left">变动金额</th>
                 <th width="100" align="left">代理商名称</th>
                  <th width="100" align="left">经销商名称</th>
                   <th width="100" align="left">总经销商名称</th>
                <th width="50" >团队名称</th>
                <th width="160">备注</th>
            </tr>
        </thead>
        <tbody>
            <volist name="list" id="val" >
            <tr>
            <td align="left">{$val.uname}</td>
            <td align="left">{$val.uid|get_tele}</td>
            <td align="left">{$val.uid|get_tgroup_id|get_tgroup}</td>
           <td align="left">{$val.action|get_action}</td>
           <td align="left">{$val.add_time}</td>
            <td align="left"><if condition="$val[price] gt 0"><font color="#33cc00">{$val.price}</font><else/><font color="#ff0000">{$val.price}</font></if></td>
           <td align="left">{$val.uid|get_tgroup_3|get_username}</td>
           <td align="left">{$val.uid|get_tgroup_2|get_username}</td>
           <td align="left">{$val.uid|get_tgroup_1|get_username}</td>
           <td align="left">{$val.uid|get_topkey}</td>
            
            <td  align="center">{$val.remark}</td>
            </tr>
            </volist>

        </tbody>
    </table>
    <div class="btn_wrap_fixed">
        <!-- <label class="select_all"><input type="checkbox" name="checkall" class="J_checkall">{:L('select_all')}/{:L('cancel')}</label>
        <input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:U('user_recharge/delete')}" data-name="id" data-msg="{:L('confirm_delete')}" value="{:L('delete')}" /> -->
        <div id="pages">{$page}</div>
    </div>

    </div>
</div>
<include file="public:footer" />
</body>
</html>
<link rel="stylesheet" type="text/css" href="__STATIC__/js/calendar/calendar-blue.css"/>
<script type="text/javascript" src="__STATIC__/js/calendar/calendar.js"></script>
